import { observable,computed } from 'mobx';

export default class Sum{
    @observable price = 10;
    
    @observable count = 2;

    @computed get total(){
        return this.price*this.count
    } 
}